<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>属性选择器</title>
		<style type="text/css">
			input[type ="text"]{
				background: #00FFFF;
			}
			input[type= "password"]{
				background: #4E6EF2;
			}
		</style>
	</head>
	<body>
		账号：<input type="text" name="" id="" value="" />
		密码：<input type="password" name="" id="" value="" />
	</body>
</html>
